<?php

declare(strict_types=1);
/**
 * This file is part of Hyperf.
 *
 * @link     https://www.hyperf.io
 * @document https://hyperf.wiki
 * @contact  group@hyperf.io
 * @license  https://github.com/hyperf/hyperf/blob/master/LICENSE
 */
return [
    "OfficialLink" => [
		    2 => "https://mp.weixin.qq.com/s/zeU40mRzgTCzNzjk0nPaCw"
	  ],
    'allowChangeFieldsUserType' => [
        'car' => [1, 2, 3],
        'wz'  => [1, 2, 3]
    ],
    'allowChangeFields' => [
        'car' => [
            'operator' => [
               'is_icc'             => [0, 1],  //ic卡状态
               'is_icc_card_switch' => [0, 1],  //是否开通IC卡自定义充值金额
               'is_icc_money'       => [0, 1],  //是否开通IC卡卡包功能
           ],
           'share' => [],
           'only_admin' => [],
        ],
        'wz' => [
            'operator' => [
                'is_show_settle_record' => [0, 1], //是否显示分账记录
                'is_show_ad_income'     => [0, 1],  //是否显示广告收益；0:不显示；0:显示
                'is_order_charge'       => [0, 1],  //是否开通订单手续费；1:是；0:否
                'is_show_invoice'       => [0, 1],  //是否显示发票助手；1:是；0:否
                'pre_trans_supervise_type' => ['adpay', 'dgpay'] //预进件类型
            ],
            'share' => [  //1:是；0:否
                'is_show_offline'       => [0, 1],  //是否显示离线收益
                'is_show_total_profit'  => [0, 1],  //是否显示总收益
                'is_show_group_profit'  => [0, 1],  //是否显示设备组收益
                'is_show_device_profit' => [0, 1],  //是否显示但台设备收益
                'is_allow_export_table' => [0, 1],  //是否允许导出报表
                'is_show_settle_record' => [0, 1],  //是否显示分账记录
                'is_show_invoice'       => [0, 1],  //是否显示发票助手；1:是；0:否
                'pre_trans_supervise_type' => ['adpay', 'dgpay'] //预进件类型
            ],
            'charge_user' => [
                'is_charge_notice' => [0, 1],               //是否需要充电提示；0:是；1:否
                'is_open_charge_safeguard' => [0, 1],       //是否开启充电安全保障
                'is_open_charge_safeguard_notice' => [0, 1] //是否开启充电安全保障提示，1:是；0:否
            ],
            'only_admin' => [ //只允许管理员操作
                'is_show_profit_menu' => [0, 1],  //是否显示收益菜单；1:显示；0:不显示
            ],
        ]
    ],

    'all_database' => [
        1   => 'wz_hzctkj',
        2   => 'wz_wz',
        12  => 'wz_zlwq'
    ],

    'mini_source' => [
        'wz',
        'wz_not_ad'
    ],
    'not_permission_of_operator' => [ //不开放指定权限给合伙人的运营商手机号
        '18863635300',
        '13153657395',
        '15288996538',
        '15869020161',
        '18327519799',
    ],
    'email' => [
        "host" => "smtp.126.com",
        "port" => 465,
        "encryption" => "ssl",
        "from_address" => "hzwanzhuang2022@126.com",
        "username" => "hzwanzhuang2022@126.com",
        "password" => "UNSGFXZQYIXNVMZT",
        "from_name" => "杭州万桩物联网科技有限公司"
    ],
    'test' => 'my is test',
    
     //哪些管理员登录商户平台后可以查看进件的入账记录
    'allowShowSuperviseAccountRecordForAdminAccount' => [
         18768198151, 
         15067112322,
         15869020161
    ]
];
